package com.factory.react;

public class animaltest {

    public  static void main(String args[]){
        animal ani = animalfactory.getmethod("dog");
        ani.eat();
    }

}
